package demo2;

public class test {
    public static void main(String[] args) {
        //接口是不可以被实例化的
//        Ishape ishape = new IShape();
        IShape cycle = new Cycle();
        IShape rect = new Rect();
        cycle.draw();
        rect.draw();
    }
}
